package com.x.Part6_personDemo;

/**
 * ClassName: PersonTest
 * Package: IntelliJ IDEA
 * Description:
 * Written by HanXu
 * Create 2023/9/17 16:43
 */
public class PersonTest {
    public static void main(String[] args) {
        Person p1 = new Person();

        p1.age = 24;
        p1.name = "HX";
        p1.gender = "M";

        System.out.println(p1.name+"是的年龄是"+p1.showAge());

        p1.addAge(6);
    }
}
